Visual Basic (Usage) | ![]() |
---|---|
Dim instance As WeakRefDictionary(Of TKey,TValue) Dim key As TKey Dim value As Boolean value = instance.Remove(key) |
Parameters
- key
- The key of the item to be removed.
Return Value
Returns true if the key was in the dictionary; return false otherwise.Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family